package hashtable;

import com.sun.source.tree.NewArrayTree;


import java.util.LinkedList;

public class Mytest {
    public static void main(String[] args) {
        HashTab hashTab = new HashTab();
        EmpLinkedList zero = new EmpLinkedList("zero");
        EmpLinkedList one = new EmpLinkedList("one");

        zero.add(new Employer(1,"凶案画"));
        zero.add(new Employer(2,"楚云飞"));

        one.add(new Employer(3,"李云龙"));
        one.add(new Employer(4,"和尚"));


        hashTab.addlist(zero);
        hashTab.addlist(one);
        hashTab.addEmploy(new Employer(5,"小白"));
        hashTab.addEmploy(new Employer(6,"小红"));
        hashTab.show();
        hashTab.removeEmploy(5);
        hashTab.show();
    }

}
